<div class="animated fadeInRight ecommerce">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="访客待办单" namespace="visitUndo"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-white btn-sm" v-on:click="vc.goBack()">
                            <vc:i18n name="返回" namespace="visitUndo"></vc:i18n>
                        </button>
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryUndoOrdersMethod()">
                            <vc:i18n name="刷新" namespace="visitUndo"></vc:i18n>
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th class="text-center">
                                <span><vc:i18n name="访客ID" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="访客" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="业主姓名" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="来访事由/类型" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="车牌号" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="随行人数" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="创建时间" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="来访/离开时间" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="状态" namespace="visitUndo"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="操作" namespace="visitUndo"></vc:i18n></span>
                            </th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="undo in visitUndoInfo.undos">
                            <td class="text-center">{{undo.vId}}</td>
                            <td class="text-center">
                                {{undo.vName}}({{undo.phoneNumber}})/{{undo.visitGender=='0'?'男':'女'}}
                            </td>
                            <td class="text-center">{{undo.ownerName}}</td>
                            <td class="text-center">{{undo.visitCase}}({{undo.reasonTypeName}})
                            </td>
                            <td class="text-center">{{undo.carNum}}</td>
                            <td class="text-center">{{undo.entourage}}</td>
                            <td class="text-center">{{undo.createTime}}</td>
                            <td class="text-center">{{undo.visitTime}}<br/>{{undo.departureTime}}</td>
                            <td class="text-center">{{undo.stateName}}</td>
                            <td class="text-center">
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs" v-on:click="_openAuditUndoDetail(undo)">
                                        <span><vc:i18n name="办理" namespace="visitUndo"></vc:i18n></span>
                                    </button>
                                </div>
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs" v-on:click="_openDetail(undo)">
                                        <span><vc:i18n name="详情" namespace="visitUndo"></vc:i18n></span>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>
